'''
Created on 2011-2-5

@author: wilbur.ma
'''

class Plugin(object):
    category = "Unknown"
    activatedByDefault = True
    
    def __init__(self):
        self.name = self.__class__.__name__
        if self.__class__.activatedByDefault:
            self.activate()
        
    def activate(self):
        self.activated = True
        
    def deactivate(self):
        self.activated = False

